<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>upy.colors</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="upy-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="upy-module.html">Package&nbsp;upy</a> ::
        Module&nbsp;colors
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="upy.colors-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="upy.colors-module.html">Module upy.colors</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">## from matplotlib.colors import cnames, hex2color</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">## for name, hex in cnames.items():</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##     r,g,b = hex2color(hex)</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##     print "%-25s = (%5.3f,%5.3f, %5.3f)"%(name, r, g, b)</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment">## names = cnames.keys()</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">## names.sort()</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">## print 'cnames = ', names</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable upy.colors.cnames=upy.colors-module.html#cnames"><a title="upy.colors.cnames" class="py-name" href="#" onclick="return doclink('link-0', 'cnames', 'link-0');">cnames</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line">    <tt class="py-string">'aliceblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'antiquewhite'</tt><tt class="py-op">,</tt> <tt class="py-string">'aqua'</tt><tt class="py-op">,</tt> <tt class="py-string">'aquamarine'</tt><tt class="py-op">,</tt> <tt class="py-string">'azure'</tt><tt class="py-op">,</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line">    <tt class="py-string">'beige'</tt><tt class="py-op">,</tt> <tt class="py-string">'bisque'</tt><tt class="py-op">,</tt> <tt class="py-string">'black'</tt><tt class="py-op">,</tt> <tt class="py-string">'blanchedalmond'</tt><tt class="py-op">,</tt> <tt class="py-string">'blue'</tt><tt class="py-op">,</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line">    <tt class="py-string">'blueviolet'</tt><tt class="py-op">,</tt> <tt class="py-string">'brown'</tt><tt class="py-op">,</tt> <tt class="py-string">'burlywood'</tt><tt class="py-op">,</tt> <tt class="py-string">'cadetblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'chartreuse'</tt><tt class="py-op">,</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">    <tt class="py-string">'chocolate'</tt><tt class="py-op">,</tt> <tt class="py-string">'coral'</tt><tt class="py-op">,</tt> <tt class="py-string">'cornflowerblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'cornsilk'</tt><tt class="py-op">,</tt> <tt class="py-string">'crimson'</tt><tt class="py-op">,</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line">    <tt class="py-string">'cyan'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkcyan'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkgoldenrod'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkgray'</tt><tt class="py-op">,</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line">    <tt class="py-string">'darkgreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkgrey'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkkhaki'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkmagenta'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkolivegreen'</tt><tt class="py-op">,</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line">    <tt class="py-string">'darkorange'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkorchid'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkred'</tt><tt class="py-op">,</tt> <tt class="py-string">'darksalmon'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkseagreen'</tt><tt class="py-op">,</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line">    <tt class="py-string">'darkslateblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkslategray'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkslategrey'</tt><tt class="py-op">,</tt> <tt class="py-string">'darkturquoise'</tt><tt class="py-op">,</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">    <tt class="py-string">'darkviolet'</tt><tt class="py-op">,</tt> <tt class="py-string">'deeppink'</tt><tt class="py-op">,</tt> <tt class="py-string">'deepskyblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'dimgray'</tt><tt class="py-op">,</tt> <tt class="py-string">'dimgrey'</tt><tt class="py-op">,</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line">    <tt class="py-string">'dodgerblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'firebrick'</tt><tt class="py-op">,</tt> <tt class="py-string">'floralwhite'</tt><tt class="py-op">,</tt> <tt class="py-string">'forestgreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'fuchsia'</tt><tt class="py-op">,</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">    <tt class="py-string">'gainsboro'</tt><tt class="py-op">,</tt> <tt class="py-string">'ghostwhite'</tt><tt class="py-op">,</tt> <tt class="py-string">'gold'</tt><tt class="py-op">,</tt> <tt class="py-string">'goldenrod'</tt><tt class="py-op">,</tt> <tt class="py-string">'gray'</tt><tt class="py-op">,</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">    <tt class="py-string">'green'</tt><tt class="py-op">,</tt> <tt class="py-string">'greenyellow'</tt><tt class="py-op">,</tt> <tt class="py-string">'grey'</tt><tt class="py-op">,</tt> <tt class="py-string">'honeydew'</tt><tt class="py-op">,</tt> <tt class="py-string">'hotpink'</tt><tt class="py-op">,</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">    <tt class="py-string">'indianred'</tt><tt class="py-op">,</tt> <tt class="py-string">'indigo'</tt><tt class="py-op">,</tt> <tt class="py-string">'ivory'</tt><tt class="py-op">,</tt> <tt class="py-string">'khaki'</tt><tt class="py-op">,</tt> <tt class="py-string">'lavender'</tt><tt class="py-op">,</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">    <tt class="py-string">'lavenderblush'</tt><tt class="py-op">,</tt> <tt class="py-string">'lawngreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'lemonchiffon'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightcoral'</tt><tt class="py-op">,</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">    <tt class="py-string">'lightcyan'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightgoldenrodyellow'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightgreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightgrey'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightpink'</tt><tt class="py-op">,</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">    <tt class="py-string">'lightsalmon'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightseagreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightskyblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightslategray'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightslategrey'</tt><tt class="py-op">,</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">    <tt class="py-string">'lightsteelblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'lightyellow'</tt><tt class="py-op">,</tt> <tt class="py-string">'lime'</tt><tt class="py-op">,</tt> <tt class="py-string">'limegreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'linen'</tt><tt class="py-op">,</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">    <tt class="py-string">'magenta'</tt><tt class="py-op">,</tt> <tt class="py-string">'maroon'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumaquamarine'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumorchid'</tt><tt class="py-op">,</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">    <tt class="py-string">'mediumpurple'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumseagreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumslateblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumspringgreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'mediumturquoise'</tt><tt class="py-op">,</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">    <tt class="py-string">'mediumvioletred'</tt><tt class="py-op">,</tt> <tt class="py-string">'midnightblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'mintcream'</tt><tt class="py-op">,</tt> <tt class="py-string">'mistyrose'</tt><tt class="py-op">,</tt> <tt class="py-string">'moccasin'</tt><tt class="py-op">,</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">    <tt class="py-string">'navajowhite'</tt><tt class="py-op">,</tt> <tt class="py-string">'navy'</tt><tt class="py-op">,</tt> <tt class="py-string">'oldlace'</tt><tt class="py-op">,</tt> <tt class="py-string">'olive'</tt><tt class="py-op">,</tt> <tt class="py-string">'olivedrab'</tt><tt class="py-op">,</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">    <tt class="py-string">'orange'</tt><tt class="py-op">,</tt> <tt class="py-string">'orangered'</tt><tt class="py-op">,</tt> <tt class="py-string">'orchid'</tt><tt class="py-op">,</tt> <tt class="py-string">'palegoldenrod'</tt><tt class="py-op">,</tt> <tt class="py-string">'palegreen'</tt><tt class="py-op">,</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">    <tt class="py-string">'palevioletred'</tt><tt class="py-op">,</tt> <tt class="py-string">'papayawhip'</tt><tt class="py-op">,</tt> <tt class="py-string">'peachpuff'</tt><tt class="py-op">,</tt> <tt class="py-string">'peru'</tt><tt class="py-op">,</tt> <tt class="py-string">'pink'</tt><tt class="py-op">,</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">    <tt class="py-string">'plum'</tt><tt class="py-op">,</tt> <tt class="py-string">'powderblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'purple'</tt><tt class="py-op">,</tt> <tt class="py-string">'red'</tt><tt class="py-op">,</tt> <tt class="py-string">'rosybrown'</tt><tt class="py-op">,</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">    <tt class="py-string">'royalblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'saddlebrown'</tt><tt class="py-op">,</tt> <tt class="py-string">'salmon'</tt><tt class="py-op">,</tt> <tt class="py-string">'sandybrown'</tt><tt class="py-op">,</tt> <tt class="py-string">'seagreen'</tt><tt class="py-op">,</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">    <tt class="py-string">'seashell'</tt><tt class="py-op">,</tt> <tt class="py-string">'sienna'</tt><tt class="py-op">,</tt> <tt class="py-string">'silver'</tt><tt class="py-op">,</tt> <tt class="py-string">'skyblue'</tt><tt class="py-op">,</tt> <tt class="py-string">'slateblue'</tt><tt class="py-op">,</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">    <tt class="py-string">'slategray'</tt><tt class="py-op">,</tt> <tt class="py-string">'slategrey'</tt><tt class="py-op">,</tt> <tt class="py-string">'snow'</tt><tt class="py-op">,</tt> <tt class="py-string">'springgreen'</tt><tt class="py-op">,</tt> <tt class="py-string">'steelblue'</tt><tt class="py-op">,</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">    <tt class="py-string">'tan'</tt><tt class="py-op">,</tt> <tt class="py-string">'teal'</tt><tt class="py-op">,</tt> <tt class="py-string">'thistle'</tt><tt class="py-op">,</tt> <tt class="py-string">'tomato'</tt><tt class="py-op">,</tt> <tt class="py-string">'turquoise'</tt><tt class="py-op">,</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">    <tt class="py-string">'violet'</tt><tt class="py-op">,</tt> <tt class="py-string">'wheat'</tt><tt class="py-op">,</tt> <tt class="py-string">'white'</tt><tt class="py-op">,</tt> <tt class="py-string">'whitesmoke'</tt><tt class="py-op">,</tt> <tt class="py-string">'yellow'</tt><tt class="py-op">,</tt> <tt class="py-string">'yellowgreen'</tt><tt class="py-op">]</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable upy.colors.indigo=upy.colors-module.html#indigo"><a title="upy.colors.indigo" class="py-name" href="#" onclick="return doclink('link-1', 'indigo', 'link-1');">indigo</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.294</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.510</tt><tt class="py-op">)</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt id="link-2" class="py-name" targets="Variable upy.colors.gold=upy.colors-module.html#gold"><a title="upy.colors.gold" class="py-name" href="#" onclick="return doclink('link-2', 'gold', 'link-2');">gold</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.843</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt id="link-3" class="py-name" targets="Variable upy.colors.firebrick=upy.colors-module.html#firebrick"><a title="upy.colors.firebrick" class="py-name" href="#" onclick="return doclink('link-3', 'firebrick', 'link-3');">firebrick</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.698</tt><tt class="py-op">,</tt><tt class="py-number">0.133</tt><tt class="py-op">,</tt> <tt class="py-number">0.133</tt><tt class="py-op">)</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt id="link-4" class="py-name" targets="Variable upy.colors.indianred=upy.colors-module.html#indianred"><a title="upy.colors.indianred" class="py-name" href="#" onclick="return doclink('link-4', 'indianred', 'link-4');">indianred</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.804</tt><tt class="py-op">,</tt><tt class="py-number">0.361</tt><tt class="py-op">,</tt> <tt class="py-number">0.361</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt id="link-5" class="py-name" targets="Variable upy.colors.yellow=upy.colors-module.html#yellow"><a title="upy.colors.yellow" class="py-name" href="#" onclick="return doclink('link-5', 'yellow', 'link-5');">yellow</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt id="link-6" class="py-name" targets="Variable upy.colors.darkolivegreen=upy.colors-module.html#darkolivegreen"><a title="upy.colors.darkolivegreen" class="py-name" href="#" onclick="return doclink('link-6', 'darkolivegreen', 'link-6');">darkolivegreen</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.333</tt><tt class="py-op">,</tt><tt class="py-number">0.420</tt><tt class="py-op">,</tt> <tt class="py-number">0.184</tt><tt class="py-op">)</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line"><tt id="link-7" class="py-name" targets="Variable upy.colors.darkseagreen=upy.colors-module.html#darkseagreen"><a title="upy.colors.darkseagreen" class="py-name" href="#" onclick="return doclink('link-7', 'darkseagreen', 'link-7');">darkseagreen</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.561</tt><tt class="py-op">,</tt><tt class="py-number">0.737</tt><tt class="py-op">,</tt> <tt class="py-number">0.561</tt><tt class="py-op">)</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"><tt id="link-8" class="py-name" targets="Variable upy.colors.slategrey=upy.colors-module.html#slategrey"><a title="upy.colors.slategrey" class="py-name" href="#" onclick="return doclink('link-8', 'slategrey', 'link-8');">slategrey</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.439</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.565</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"><tt id="link-9" class="py-name" targets="Variable upy.colors.darkslategrey=upy.colors-module.html#darkslategrey"><a title="upy.colors.darkslategrey" class="py-name" href="#" onclick="return doclink('link-9', 'darkslategrey', 'link-9');">darkslategrey</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.184</tt><tt class="py-op">,</tt><tt class="py-number">0.310</tt><tt class="py-op">,</tt> <tt class="py-number">0.310</tt><tt class="py-op">)</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"><tt id="link-10" class="py-name" targets="Variable upy.colors.mediumvioletred=upy.colors-module.html#mediumvioletred"><a title="upy.colors.mediumvioletred" class="py-name" href="#" onclick="return doclink('link-10', 'mediumvioletred', 'link-10');">mediumvioletred</a></tt>           <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.780</tt><tt class="py-op">,</tt><tt class="py-number">0.082</tt><tt class="py-op">,</tt> <tt class="py-number">0.522</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"><tt id="link-11" class="py-name" targets="Variable upy.colors.mediumorchid=upy.colors-module.html#mediumorchid"><a title="upy.colors.mediumorchid" class="py-name" href="#" onclick="return doclink('link-11', 'mediumorchid', 'link-11');">mediumorchid</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.729</tt><tt class="py-op">,</tt><tt class="py-number">0.333</tt><tt class="py-op">,</tt> <tt class="py-number">0.827</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line"><tt id="link-12" class="py-name" targets="Variable upy.colors.chartreuse=upy.colors-module.html#chartreuse"><a title="upy.colors.chartreuse" class="py-name" href="#" onclick="return doclink('link-12', 'chartreuse', 'link-12');">chartreuse</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.498</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line"><tt id="link-13" class="py-name" targets="Variable upy.colors.mediumslateblue=upy.colors-module.html#mediumslateblue"><a title="upy.colors.mediumslateblue" class="py-name" href="#" onclick="return doclink('link-13', 'mediumslateblue', 'link-13');">mediumslateblue</a></tt>           <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.482</tt><tt class="py-op">,</tt><tt class="py-number">0.408</tt><tt class="py-op">,</tt> <tt class="py-number">0.933</tt><tt class="py-op">)</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"><tt id="link-14" class="py-name" targets="Variable upy.colors.black=upy.colors-module.html#black"><a title="upy.colors.black" class="py-name" href="#" onclick="return doclink('link-14', 'black', 'link-14');">black</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"><tt id="link-15" class="py-name" targets="Variable upy.colors.springgreen=upy.colors-module.html#springgreen"><a title="upy.colors.springgreen" class="py-name" href="#" onclick="return doclink('link-15', 'springgreen', 'link-15');">springgreen</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.498</tt><tt class="py-op">)</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt id="link-16" class="py-name" targets="Variable upy.colors.crimson=upy.colors-module.html#crimson"><a title="upy.colors.crimson" class="py-name" href="#" onclick="return doclink('link-16', 'crimson', 'link-16');">crimson</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.863</tt><tt class="py-op">,</tt><tt class="py-number">0.078</tt><tt class="py-op">,</tt> <tt class="py-number">0.235</tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"><tt id="link-17" class="py-name" targets="Variable upy.colors.lightsalmon=upy.colors-module.html#lightsalmon"><a title="upy.colors.lightsalmon" class="py-name" href="#" onclick="return doclink('link-17', 'lightsalmon', 'link-17');">lightsalmon</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.627</tt><tt class="py-op">,</tt> <tt class="py-number">0.478</tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"><tt id="link-18" class="py-name" targets="Variable upy.colors.brown=upy.colors-module.html#brown"><a title="upy.colors.brown" class="py-name" href="#" onclick="return doclink('link-18', 'brown', 'link-18');">brown</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.647</tt><tt class="py-op">,</tt><tt class="py-number">0.165</tt><tt class="py-op">,</tt> <tt class="py-number">0.165</tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt id="link-19" class="py-name" targets="Variable upy.colors.turquoise=upy.colors-module.html#turquoise"><a title="upy.colors.turquoise" class="py-name" href="#" onclick="return doclink('link-19', 'turquoise', 'link-19');">turquoise</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.251</tt><tt class="py-op">,</tt><tt class="py-number">0.878</tt><tt class="py-op">,</tt> <tt class="py-number">0.816</tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt id="link-20" class="py-name" targets="Variable upy.colors.olivedrab=upy.colors-module.html#olivedrab"><a title="upy.colors.olivedrab" class="py-name" href="#" onclick="return doclink('link-20', 'olivedrab', 'link-20');">olivedrab</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.420</tt><tt class="py-op">,</tt><tt class="py-number">0.557</tt><tt class="py-op">,</tt> <tt class="py-number">0.137</tt><tt class="py-op">)</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"><tt id="link-21" class="py-name" targets="Variable upy.colors.cyan=upy.colors-module.html#cyan"><a title="upy.colors.cyan" class="py-name" href="#" onclick="return doclink('link-21', 'cyan', 'link-21');">cyan</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line"><tt id="link-22" class="py-name" targets="Variable upy.colors.silver=upy.colors-module.html#silver"><a title="upy.colors.silver" class="py-name" href="#" onclick="return doclink('link-22', 'silver', 'link-22');">silver</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.753</tt><tt class="py-op">,</tt><tt class="py-number">0.753</tt><tt class="py-op">,</tt> <tt class="py-number">0.753</tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line"><tt id="link-23" class="py-name" targets="Variable upy.colors.skyblue=upy.colors-module.html#skyblue"><a title="upy.colors.skyblue" class="py-name" href="#" onclick="return doclink('link-23', 'skyblue', 'link-23');">skyblue</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.529</tt><tt class="py-op">,</tt><tt class="py-number">0.808</tt><tt class="py-op">,</tt> <tt class="py-number">0.922</tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line"><tt id="link-24" class="py-name" targets="Variable upy.colors.gray=upy.colors-module.html#gray"><a title="upy.colors.gray" class="py-name" href="#" onclick="return doclink('link-24', 'gray', 'link-24');">gray</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"><tt id="link-25" class="py-name" targets="Variable upy.colors.darkturquoise=upy.colors-module.html#darkturquoise"><a title="upy.colors.darkturquoise" class="py-name" href="#" onclick="return doclink('link-25', 'darkturquoise', 'link-25');">darkturquoise</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.808</tt><tt class="py-op">,</tt> <tt class="py-number">0.820</tt><tt class="py-op">)</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line"><tt id="link-26" class="py-name" targets="Variable upy.colors.goldenrod=upy.colors-module.html#goldenrod"><a title="upy.colors.goldenrod" class="py-name" href="#" onclick="return doclink('link-26', 'goldenrod', 'link-26');">goldenrod</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.855</tt><tt class="py-op">,</tt><tt class="py-number">0.647</tt><tt class="py-op">,</tt> <tt class="py-number">0.125</tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"><tt id="link-27" class="py-name" targets="Variable upy.colors.darkgreen=upy.colors-module.html#darkgreen"><a title="upy.colors.darkgreen" class="py-name" href="#" onclick="return doclink('link-27', 'darkgreen', 'link-27');">darkgreen</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.392</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"><tt id="link-28" class="py-name" targets="Variable upy.colors.darkviolet=upy.colors-module.html#darkviolet"><a title="upy.colors.darkviolet" class="py-name" href="#" onclick="return doclink('link-28', 'darkviolet', 'link-28');">darkviolet</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.580</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.827</tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"><tt id="link-29" class="py-name" targets="Variable upy.colors.darkgray=upy.colors-module.html#darkgray"><a title="upy.colors.darkgray" class="py-name" href="#" onclick="return doclink('link-29', 'darkgray', 'link-29');">darkgray</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.663</tt><tt class="py-op">,</tt><tt class="py-number">0.663</tt><tt class="py-op">,</tt> <tt class="py-number">0.663</tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"><tt id="link-30" class="py-name" targets="Variable upy.colors.lightpink=upy.colors-module.html#lightpink"><a title="upy.colors.lightpink" class="py-name" href="#" onclick="return doclink('link-30', 'lightpink', 'link-30');">lightpink</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.714</tt><tt class="py-op">,</tt> <tt class="py-number">0.757</tt><tt class="py-op">)</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line"><tt id="link-31" class="py-name" targets="Variable upy.colors.teal=upy.colors-module.html#teal"><a title="upy.colors.teal" class="py-name" href="#" onclick="return doclink('link-31', 'teal', 'link-31');">teal</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"><tt id="link-32" class="py-name" targets="Variable upy.colors.darkmagenta=upy.colors-module.html#darkmagenta"><a title="upy.colors.darkmagenta" class="py-name" href="#" onclick="return doclink('link-32', 'darkmagenta', 'link-32');">darkmagenta</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.545</tt><tt class="py-op">)</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"><tt id="link-33" class="py-name" targets="Variable upy.colors.lightgoldenrodyellow=upy.colors-module.html#lightgoldenrodyellow"><a title="upy.colors.lightgoldenrodyellow" class="py-name" href="#" onclick="return doclink('link-33', 'lightgoldenrodyellow', 'link-33');">lightgoldenrodyellow</a></tt>      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt> <tt class="py-number">0.824</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"><tt id="link-34" class="py-name" targets="Variable upy.colors.lavender=upy.colors-module.html#lavender"><a title="upy.colors.lavender" class="py-name" href="#" onclick="return doclink('link-34', 'lavender', 'link-34');">lavender</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.902</tt><tt class="py-op">,</tt><tt class="py-number">0.902</tt><tt class="py-op">,</tt> <tt class="py-number">0.980</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt id="link-35" class="py-name" targets="Variable upy.colors.yellowgreen=upy.colors-module.html#yellowgreen"><a title="upy.colors.yellowgreen" class="py-name" href="#" onclick="return doclink('link-35', 'yellowgreen', 'link-35');">yellowgreen</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.604</tt><tt class="py-op">,</tt><tt class="py-number">0.804</tt><tt class="py-op">,</tt> <tt class="py-number">0.196</tt><tt class="py-op">)</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt id="link-36" class="py-name" targets="Variable upy.colors.thistle=upy.colors-module.html#thistle"><a title="upy.colors.thistle" class="py-name" href="#" onclick="return doclink('link-36', 'thistle', 'link-36');">thistle</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.847</tt><tt class="py-op">,</tt><tt class="py-number">0.749</tt><tt class="py-op">,</tt> <tt class="py-number">0.847</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line"><tt id="link-37" class="py-name" targets="Variable upy.colors.violet=upy.colors-module.html#violet"><a title="upy.colors.violet" class="py-name" href="#" onclick="return doclink('link-37', 'violet', 'link-37');">violet</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.933</tt><tt class="py-op">,</tt><tt class="py-number">0.510</tt><tt class="py-op">,</tt> <tt class="py-number">0.933</tt><tt class="py-op">)</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line"><tt id="link-38" class="py-name" targets="Variable upy.colors.navy=upy.colors-module.html#navy"><a title="upy.colors.navy" class="py-name" href="#" onclick="return doclink('link-38', 'navy', 'link-38');">navy</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line"><tt id="link-39" class="py-name" targets="Variable upy.colors.dimgrey=upy.colors-module.html#dimgrey"><a title="upy.colors.dimgrey" class="py-name" href="#" onclick="return doclink('link-39', 'dimgrey', 'link-39');">dimgrey</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt> <tt class="py-number">0.412</tt><tt class="py-op">)</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line"><tt id="link-40" class="py-name" targets="Variable upy.colors.orchid=upy.colors-module.html#orchid"><a title="upy.colors.orchid" class="py-name" href="#" onclick="return doclink('link-40', 'orchid', 'link-40');">orchid</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.855</tt><tt class="py-op">,</tt><tt class="py-number">0.439</tt><tt class="py-op">,</tt> <tt class="py-number">0.839</tt><tt class="py-op">)</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line"><tt id="link-41" class="py-name" targets="Variable upy.colors.blue=upy.colors-module.html#blue"><a title="upy.colors.blue" class="py-name" href="#" onclick="return doclink('link-41', 'blue', 'link-41');">blue</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line"><tt id="link-42" class="py-name" targets="Variable upy.colors.ghostwhite=upy.colors-module.html#ghostwhite"><a title="upy.colors.ghostwhite" class="py-name" href="#" onclick="return doclink('link-42', 'ghostwhite', 'link-42');">ghostwhite</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.973</tt><tt class="py-op">,</tt><tt class="py-number">0.973</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line"><tt id="link-43" class="py-name" targets="Variable upy.colors.honeydew=upy.colors-module.html#honeydew"><a title="upy.colors.honeydew" class="py-name" href="#" onclick="return doclink('link-43', 'honeydew', 'link-43');">honeydew</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.941</tt><tt class="py-op">)</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line"><tt id="link-44" class="py-name" targets="Variable upy.colors.cornflowerblue=upy.colors-module.html#cornflowerblue"><a title="upy.colors.cornflowerblue" class="py-name" href="#" onclick="return doclink('link-44', 'cornflowerblue', 'link-44');">cornflowerblue</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.392</tt><tt class="py-op">,</tt><tt class="py-number">0.584</tt><tt class="py-op">,</tt> <tt class="py-number">0.929</tt><tt class="py-op">)</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"><tt id="link-45" class="py-name" targets="Variable upy.colors.darkblue=upy.colors-module.html#darkblue"><a title="upy.colors.darkblue" class="py-name" href="#" onclick="return doclink('link-45', 'darkblue', 'link-45');">darkblue</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.545</tt><tt class="py-op">)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"><tt id="link-46" class="py-name" targets="Variable upy.colors.darkkhaki=upy.colors-module.html#darkkhaki"><a title="upy.colors.darkkhaki" class="py-name" href="#" onclick="return doclink('link-46', 'darkkhaki', 'link-46');">darkkhaki</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.741</tt><tt class="py-op">,</tt><tt class="py-number">0.718</tt><tt class="py-op">,</tt> <tt class="py-number">0.420</tt><tt class="py-op">)</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"><tt id="link-47" class="py-name" targets="Variable upy.colors.mediumpurple=upy.colors-module.html#mediumpurple"><a title="upy.colors.mediumpurple" class="py-name" href="#" onclick="return doclink('link-47', 'mediumpurple', 'link-47');">mediumpurple</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.576</tt><tt class="py-op">,</tt><tt class="py-number">0.439</tt><tt class="py-op">,</tt> <tt class="py-number">0.859</tt><tt class="py-op">)</tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"><tt id="link-48" class="py-name" targets="Variable upy.colors.cornsilk=upy.colors-module.html#cornsilk"><a title="upy.colors.cornsilk" class="py-name" href="#" onclick="return doclink('link-48', 'cornsilk', 'link-48');">cornsilk</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.973</tt><tt class="py-op">,</tt> <tt class="py-number">0.863</tt><tt class="py-op">)</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"><tt id="link-49" class="py-name" targets="Variable upy.colors.red=upy.colors-module.html#red"><a title="upy.colors.red" class="py-name" href="#" onclick="return doclink('link-49', 'red', 'link-49');">red</a></tt>                       <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt id="link-50" class="py-name" targets="Variable upy.colors.bisque=upy.colors-module.html#bisque"><a title="upy.colors.bisque" class="py-name" href="#" onclick="return doclink('link-50', 'bisque', 'link-50');">bisque</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.894</tt><tt class="py-op">,</tt> <tt class="py-number">0.769</tt><tt class="py-op">)</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt id="link-51" class="py-name" targets="Variable upy.colors.slategray=upy.colors-module.html#slategray"><a title="upy.colors.slategray" class="py-name" href="#" onclick="return doclink('link-51', 'slategray', 'link-51');">slategray</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.439</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.565</tt><tt class="py-op">)</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"><tt id="link-52" class="py-name" targets="Variable upy.colors.darkcyan=upy.colors-module.html#darkcyan"><a title="upy.colors.darkcyan" class="py-name" href="#" onclick="return doclink('link-52', 'darkcyan', 'link-52');">darkcyan</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt> <tt class="py-number">0.545</tt><tt class="py-op">)</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"><tt id="link-53" class="py-name" targets="Variable upy.colors.khaki=upy.colors-module.html#khaki"><a title="upy.colors.khaki" class="py-name" href="#" onclick="return doclink('link-53', 'khaki', 'link-53');">khaki</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt><tt class="py-number">0.902</tt><tt class="py-op">,</tt> <tt class="py-number">0.549</tt><tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"><tt id="link-54" class="py-name" targets="Variable upy.colors.wheat=upy.colors-module.html#wheat"><a title="upy.colors.wheat" class="py-name" href="#" onclick="return doclink('link-54', 'wheat', 'link-54');">wheat</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt><tt class="py-number">0.871</tt><tt class="py-op">,</tt> <tt class="py-number">0.702</tt><tt class="py-op">)</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt id="link-55" class="py-name" targets="Variable upy.colors.deepskyblue=upy.colors-module.html#deepskyblue"><a title="upy.colors.deepskyblue" class="py-name" href="#" onclick="return doclink('link-55', 'deepskyblue', 'link-55');">deepskyblue</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.749</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"><tt id="link-56" class="py-name" targets="Variable upy.colors.darkred=upy.colors-module.html#darkred"><a title="upy.colors.darkred" class="py-name" href="#" onclick="return doclink('link-56', 'darkred', 'link-56');">darkred</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"><tt id="link-57" class="py-name" targets="Variable upy.colors.steelblue=upy.colors-module.html#steelblue"><a title="upy.colors.steelblue" class="py-name" href="#" onclick="return doclink('link-57', 'steelblue', 'link-57');">steelblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.275</tt><tt class="py-op">,</tt><tt class="py-number">0.510</tt><tt class="py-op">,</tt> <tt class="py-number">0.706</tt><tt class="py-op">)</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt id="link-58" class="py-name" targets="Variable upy.colors.aliceblue=upy.colors-module.html#aliceblue"><a title="upy.colors.aliceblue" class="py-name" href="#" onclick="return doclink('link-58', 'aliceblue', 'link-58');">aliceblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt><tt class="py-number">0.973</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt id="link-59" class="py-name" targets="Variable upy.colors.lightslategrey=upy.colors-module.html#lightslategrey"><a title="upy.colors.lightslategrey" class="py-name" href="#" onclick="return doclink('link-59', 'lightslategrey', 'link-59');">lightslategrey</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.467</tt><tt class="py-op">,</tt><tt class="py-number">0.533</tt><tt class="py-op">,</tt> <tt class="py-number">0.600</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt id="link-60" class="py-name" targets="Variable upy.colors.gainsboro=upy.colors-module.html#gainsboro"><a title="upy.colors.gainsboro" class="py-name" href="#" onclick="return doclink('link-60', 'gainsboro', 'link-60');">gainsboro</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.863</tt><tt class="py-op">,</tt><tt class="py-number">0.863</tt><tt class="py-op">,</tt> <tt class="py-number">0.863</tt><tt class="py-op">)</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt id="link-61" class="py-name" targets="Variable upy.colors.mediumturquoise=upy.colors-module.html#mediumturquoise"><a title="upy.colors.mediumturquoise" class="py-name" href="#" onclick="return doclink('link-61', 'mediumturquoise', 'link-61');">mediumturquoise</a></tt>           <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.282</tt><tt class="py-op">,</tt><tt class="py-number">0.820</tt><tt class="py-op">,</tt> <tt class="py-number">0.800</tt><tt class="py-op">)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt id="link-62" class="py-name" targets="Variable upy.colors.floralwhite=upy.colors-module.html#floralwhite"><a title="upy.colors.floralwhite" class="py-name" href="#" onclick="return doclink('link-62', 'floralwhite', 'link-62');">floralwhite</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt> <tt class="py-number">0.941</tt><tt class="py-op">)</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt id="link-63" class="py-name" targets="Variable upy.colors.coral=upy.colors-module.html#coral"><a title="upy.colors.coral" class="py-name" href="#" onclick="return doclink('link-63', 'coral', 'link-63');">coral</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.498</tt><tt class="py-op">,</tt> <tt class="py-number">0.314</tt><tt class="py-op">)</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"><tt id="link-64" class="py-name" targets="Variable upy.colors.purple=upy.colors-module.html#purple"><a title="upy.colors.purple" class="py-name" href="#" onclick="return doclink('link-64', 'purple', 'link-64');">purple</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"><tt id="link-65" class="py-name" targets="Variable upy.colors.lightgrey=upy.colors-module.html#lightgrey"><a title="upy.colors.lightgrey" class="py-name" href="#" onclick="return doclink('link-65', 'lightgrey', 'link-65');">lightgrey</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.827</tt><tt class="py-op">,</tt><tt class="py-number">0.827</tt><tt class="py-op">,</tt> <tt class="py-number">0.827</tt><tt class="py-op">)</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt id="link-66" class="py-name" targets="Variable upy.colors.lightcyan=upy.colors-module.html#lightcyan"><a title="upy.colors.lightcyan" class="py-name" href="#" onclick="return doclink('link-66', 'lightcyan', 'link-66');">lightcyan</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.878</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt id="link-67" class="py-name" targets="Variable upy.colors.darksalmon=upy.colors-module.html#darksalmon"><a title="upy.colors.darksalmon" class="py-name" href="#" onclick="return doclink('link-67', 'darksalmon', 'link-67');">darksalmon</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.914</tt><tt class="py-op">,</tt><tt class="py-number">0.588</tt><tt class="py-op">,</tt> <tt class="py-number">0.478</tt><tt class="py-op">)</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt id="link-68" class="py-name" targets="Variable upy.colors.beige=upy.colors-module.html#beige"><a title="upy.colors.beige" class="py-name" href="#" onclick="return doclink('link-68', 'beige', 'link-68');">beige</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt> <tt class="py-number">0.863</tt><tt class="py-op">)</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"><tt id="link-69" class="py-name" targets="Variable upy.colors.azure=upy.colors-module.html#azure"><a title="upy.colors.azure" class="py-name" href="#" onclick="return doclink('link-69', 'azure', 'link-69');">azure</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"><tt id="link-70" class="py-name" targets="Variable upy.colors.lightsteelblue=upy.colors-module.html#lightsteelblue"><a title="upy.colors.lightsteelblue" class="py-name" href="#" onclick="return doclink('link-70', 'lightsteelblue', 'link-70');">lightsteelblue</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.690</tt><tt class="py-op">,</tt><tt class="py-number">0.769</tt><tt class="py-op">,</tt> <tt class="py-number">0.871</tt><tt class="py-op">)</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"><tt id="link-71" class="py-name" targets="Variable upy.colors.oldlace=upy.colors-module.html#oldlace"><a title="upy.colors.oldlace" class="py-name" href="#" onclick="return doclink('link-71', 'oldlace', 'link-71');">oldlace</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.992</tt><tt class="py-op">,</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt> <tt class="py-number">0.902</tt><tt class="py-op">)</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"><tt id="link-72" class="py-name" targets="Variable upy.colors.greenyellow=upy.colors-module.html#greenyellow"><a title="upy.colors.greenyellow" class="py-name" href="#" onclick="return doclink('link-72', 'greenyellow', 'link-72');">greenyellow</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.678</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.184</tt><tt class="py-op">)</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line"><tt id="link-73" class="py-name" targets="Variable upy.colors.royalblue=upy.colors-module.html#royalblue"><a title="upy.colors.royalblue" class="py-name" href="#" onclick="return doclink('link-73', 'royalblue', 'link-73');">royalblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.255</tt><tt class="py-op">,</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt> <tt class="py-number">0.882</tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"><tt id="link-74" class="py-name" targets="Variable upy.colors.lightseagreen=upy.colors-module.html#lightseagreen"><a title="upy.colors.lightseagreen" class="py-name" href="#" onclick="return doclink('link-74', 'lightseagreen', 'link-74');">lightseagreen</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.125</tt><tt class="py-op">,</tt><tt class="py-number">0.698</tt><tt class="py-op">,</tt> <tt class="py-number">0.667</tt><tt class="py-op">)</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line"><tt id="link-75" class="py-name" targets="Variable upy.colors.mistyrose=upy.colors-module.html#mistyrose"><a title="upy.colors.mistyrose" class="py-name" href="#" onclick="return doclink('link-75', 'mistyrose', 'link-75');">mistyrose</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.894</tt><tt class="py-op">,</tt> <tt class="py-number">0.882</tt><tt class="py-op">)</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"><tt id="link-76" class="py-name" targets="Variable upy.colors.sienna=upy.colors-module.html#sienna"><a title="upy.colors.sienna" class="py-name" href="#" onclick="return doclink('link-76', 'sienna', 'link-76');">sienna</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.627</tt><tt class="py-op">,</tt><tt class="py-number">0.322</tt><tt class="py-op">,</tt> <tt class="py-number">0.176</tt><tt class="py-op">)</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"><tt id="link-77" class="py-name" targets="Variable upy.colors.lightcoral=upy.colors-module.html#lightcoral"><a title="upy.colors.lightcoral" class="py-name" href="#" onclick="return doclink('link-77', 'lightcoral', 'link-77');">lightcoral</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line"><tt id="link-78" class="py-name" targets="Variable upy.colors.orangered=upy.colors-module.html#orangered"><a title="upy.colors.orangered" class="py-name" href="#" onclick="return doclink('link-78', 'orangered', 'link-78');">orangered</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.271</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"><tt id="link-79" class="py-name" targets="Variable upy.colors.navajowhite=upy.colors-module.html#navajowhite"><a title="upy.colors.navajowhite" class="py-name" href="#" onclick="return doclink('link-79', 'navajowhite', 'link-79');">navajowhite</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.871</tt><tt class="py-op">,</tt> <tt class="py-number">0.678</tt><tt class="py-op">)</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line"><tt id="link-80" class="py-name" targets="Variable upy.colors.lime=upy.colors-module.html#lime"><a title="upy.colors.lime" class="py-name" href="#" onclick="return doclink('link-80', 'lime', 'link-80');">lime</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"><tt id="link-81" class="py-name" targets="Variable upy.colors.palegreen=upy.colors-module.html#palegreen"><a title="upy.colors.palegreen" class="py-name" href="#" onclick="return doclink('link-81', 'palegreen', 'link-81');">palegreen</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.596</tt><tt class="py-op">,</tt><tt class="py-number">0.984</tt><tt class="py-op">,</tt> <tt class="py-number">0.596</tt><tt class="py-op">)</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line"><tt id="link-82" class="py-name" targets="Variable upy.colors.burlywood=upy.colors-module.html#burlywood"><a title="upy.colors.burlywood" class="py-name" href="#" onclick="return doclink('link-82', 'burlywood', 'link-82');">burlywood</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.871</tt><tt class="py-op">,</tt><tt class="py-number">0.722</tt><tt class="py-op">,</tt> <tt class="py-number">0.529</tt><tt class="py-op">)</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line"><tt id="link-83" class="py-name" targets="Variable upy.colors.seashell=upy.colors-module.html#seashell"><a title="upy.colors.seashell" class="py-name" href="#" onclick="return doclink('link-83', 'seashell', 'link-83');">seashell</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt> <tt class="py-number">0.933</tt><tt class="py-op">)</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line"><tt id="link-84" class="py-name" targets="Variable upy.colors.mediumspringgreen=upy.colors-module.html#mediumspringgreen"><a title="upy.colors.mediumspringgreen" class="py-name" href="#" onclick="return doclink('link-84', 'mediumspringgreen', 'link-84');">mediumspringgreen</a></tt>         <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt> <tt class="py-number">0.604</tt><tt class="py-op">)</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"><tt id="link-85" class="py-name" targets="Variable upy.colors.fuchsia=upy.colors-module.html#fuchsia"><a title="upy.colors.fuchsia" class="py-name" href="#" onclick="return doclink('link-85', 'fuchsia', 'link-85');">fuchsia</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"><tt id="link-86" class="py-name" targets="Variable upy.colors.papayawhip=upy.colors-module.html#papayawhip"><a title="upy.colors.papayawhip" class="py-name" href="#" onclick="return doclink('link-86', 'papayawhip', 'link-86');">papayawhip</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.937</tt><tt class="py-op">,</tt> <tt class="py-number">0.835</tt><tt class="py-op">)</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"><tt id="link-87" class="py-name" targets="Variable upy.colors.blanchedalmond=upy.colors-module.html#blanchedalmond"><a title="upy.colors.blanchedalmond" class="py-name" href="#" onclick="return doclink('link-87', 'blanchedalmond', 'link-87');">blanchedalmond</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.922</tt><tt class="py-op">,</tt> <tt class="py-number">0.804</tt><tt class="py-op">)</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line"><tt id="link-88" class="py-name" targets="Variable upy.colors.peru=upy.colors-module.html#peru"><a title="upy.colors.peru" class="py-name" href="#" onclick="return doclink('link-88', 'peru', 'link-88');">peru</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.804</tt><tt class="py-op">,</tt><tt class="py-number">0.522</tt><tt class="py-op">,</tt> <tt class="py-number">0.247</tt><tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"><tt id="link-89" class="py-name" targets="Variable upy.colors.aquamarine=upy.colors-module.html#aquamarine"><a title="upy.colors.aquamarine" class="py-name" href="#" onclick="return doclink('link-89', 'aquamarine', 'link-89');">aquamarine</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.498</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.831</tt><tt class="py-op">)</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"><tt id="link-90" class="py-name" targets="Variable upy.colors.white=upy.colors-module.html#white"><a title="upy.colors.white" class="py-name" href="#" onclick="return doclink('link-90', 'white', 'link-90');">white</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line"><tt id="link-91" class="py-name" targets="Variable upy.colors.darkslategray=upy.colors-module.html#darkslategray"><a title="upy.colors.darkslategray" class="py-name" href="#" onclick="return doclink('link-91', 'darkslategray', 'link-91');">darkslategray</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.184</tt><tt class="py-op">,</tt><tt class="py-number">0.310</tt><tt class="py-op">,</tt> <tt class="py-number">0.310</tt><tt class="py-op">)</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line"><tt id="link-92" class="py-name" targets="Variable upy.colors.ivory=upy.colors-module.html#ivory"><a title="upy.colors.ivory" class="py-name" href="#" onclick="return doclink('link-92', 'ivory', 'link-92');">ivory</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.941</tt><tt class="py-op">)</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"><tt id="link-93" class="py-name" targets="Variable upy.colors.dodgerblue=upy.colors-module.html#dodgerblue"><a title="upy.colors.dodgerblue" class="py-name" href="#" onclick="return doclink('link-93', 'dodgerblue', 'link-93');">dodgerblue</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.118</tt><tt class="py-op">,</tt><tt class="py-number">0.565</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"><tt id="link-94" class="py-name" targets="Variable upy.colors.lemonchiffon=upy.colors-module.html#lemonchiffon"><a title="upy.colors.lemonchiffon" class="py-name" href="#" onclick="return doclink('link-94', 'lemonchiffon', 'link-94');">lemonchiffon</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt> <tt class="py-number">0.804</tt><tt class="py-op">)</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line"><tt id="link-95" class="py-name" targets="Variable upy.colors.chocolate=upy.colors-module.html#chocolate"><a title="upy.colors.chocolate" class="py-name" href="#" onclick="return doclink('link-95', 'chocolate', 'link-95');">chocolate</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.824</tt><tt class="py-op">,</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt> <tt class="py-number">0.118</tt><tt class="py-op">)</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"><tt id="link-96" class="py-name" targets="Variable upy.colors.orange=upy.colors-module.html#orange"><a title="upy.colors.orange" class="py-name" href="#" onclick="return doclink('link-96', 'orange', 'link-96');">orange</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.647</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"><tt id="link-97" class="py-name" targets="Variable upy.colors.forestgreen=upy.colors-module.html#forestgreen"><a title="upy.colors.forestgreen" class="py-name" href="#" onclick="return doclink('link-97', 'forestgreen', 'link-97');">forestgreen</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.133</tt><tt class="py-op">,</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt> <tt class="py-number">0.133</tt><tt class="py-op">)</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line"><tt id="link-98" class="py-name" targets="Variable upy.colors.slateblue=upy.colors-module.html#slateblue"><a title="upy.colors.slateblue" class="py-name" href="#" onclick="return doclink('link-98', 'slateblue', 'link-98');">slateblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.416</tt><tt class="py-op">,</tt><tt class="py-number">0.353</tt><tt class="py-op">,</tt> <tt class="py-number">0.804</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line"><tt id="link-99" class="py-name" targets="Variable upy.colors.olive=upy.colors-module.html#olive"><a title="upy.colors.olive" class="py-name" href="#" onclick="return doclink('link-99', 'olive', 'link-99');">olive</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"><tt id="link-100" class="py-name" targets="Variable upy.colors.mintcream=upy.colors-module.html#mintcream"><a title="upy.colors.mintcream" class="py-name" href="#" onclick="return doclink('link-100', 'mintcream', 'link-100');">mintcream</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.980</tt><tt class="py-op">)</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"><tt id="link-101" class="py-name" targets="Variable upy.colors.antiquewhite=upy.colors-module.html#antiquewhite"><a title="upy.colors.antiquewhite" class="py-name" href="#" onclick="return doclink('link-101', 'antiquewhite', 'link-101');">antiquewhite</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt><tt class="py-number">0.922</tt><tt class="py-op">,</tt> <tt class="py-number">0.843</tt><tt class="py-op">)</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"><tt id="link-102" class="py-name" targets="Variable upy.colors.darkorange=upy.colors-module.html#darkorange"><a title="upy.colors.darkorange" class="py-name" href="#" onclick="return doclink('link-102', 'darkorange', 'link-102');">darkorange</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.549</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line"><tt id="link-103" class="py-name" targets="Variable upy.colors.cadetblue=upy.colors-module.html#cadetblue"><a title="upy.colors.cadetblue" class="py-name" href="#" onclick="return doclink('link-103', 'cadetblue', 'link-103');">cadetblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.373</tt><tt class="py-op">,</tt><tt class="py-number">0.620</tt><tt class="py-op">,</tt> <tt class="py-number">0.627</tt><tt class="py-op">)</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"><tt id="link-104" class="py-name" targets="Variable upy.colors.moccasin=upy.colors-module.html#moccasin"><a title="upy.colors.moccasin" class="py-name" href="#" onclick="return doclink('link-104', 'moccasin', 'link-104');">moccasin</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.894</tt><tt class="py-op">,</tt> <tt class="py-number">0.710</tt><tt class="py-op">)</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"><tt id="link-105" class="py-name" targets="Variable upy.colors.limegreen=upy.colors-module.html#limegreen"><a title="upy.colors.limegreen" class="py-name" href="#" onclick="return doclink('link-105', 'limegreen', 'link-105');">limegreen</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.196</tt><tt class="py-op">,</tt><tt class="py-number">0.804</tt><tt class="py-op">,</tt> <tt class="py-number">0.196</tt><tt class="py-op">)</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line"><tt id="link-106" class="py-name" targets="Variable upy.colors.saddlebrown=upy.colors-module.html#saddlebrown"><a title="upy.colors.saddlebrown" class="py-name" href="#" onclick="return doclink('link-106', 'saddlebrown', 'link-106');">saddlebrown</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt><tt class="py-number">0.271</tt><tt class="py-op">,</tt> <tt class="py-number">0.075</tt><tt class="py-op">)</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line"><tt id="link-107" class="py-name" targets="Variable upy.colors.grey=upy.colors-module.html#grey"><a title="upy.colors.grey" class="py-name" href="#" onclick="return doclink('link-107', 'grey', 'link-107');">grey</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.502</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"><tt id="link-108" class="py-name" targets="Variable upy.colors.darkslateblue=upy.colors-module.html#darkslateblue"><a title="upy.colors.darkslateblue" class="py-name" href="#" onclick="return doclink('link-108', 'darkslateblue', 'link-108');">darkslateblue</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.282</tt><tt class="py-op">,</tt><tt class="py-number">0.239</tt><tt class="py-op">,</tt> <tt class="py-number">0.545</tt><tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"><tt id="link-109" class="py-name" targets="Variable upy.colors.lightskyblue=upy.colors-module.html#lightskyblue"><a title="upy.colors.lightskyblue" class="py-name" href="#" onclick="return doclink('link-109', 'lightskyblue', 'link-109');">lightskyblue</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.529</tt><tt class="py-op">,</tt><tt class="py-number">0.808</tt><tt class="py-op">,</tt> <tt class="py-number">0.980</tt><tt class="py-op">)</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt id="link-110" class="py-name" targets="Variable upy.colors.deeppink=upy.colors-module.html#deeppink"><a title="upy.colors.deeppink" class="py-name" href="#" onclick="return doclink('link-110', 'deeppink', 'link-110');">deeppink</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.078</tt><tt class="py-op">,</tt> <tt class="py-number">0.576</tt><tt class="py-op">)</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt id="link-111" class="py-name" targets="Variable upy.colors.plum=upy.colors-module.html#plum"><a title="upy.colors.plum" class="py-name" href="#" onclick="return doclink('link-111', 'plum', 'link-111');">plum</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.867</tt><tt class="py-op">,</tt><tt class="py-number">0.627</tt><tt class="py-op">,</tt> <tt class="py-number">0.867</tt><tt class="py-op">)</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt id="link-112" class="py-name" targets="Variable upy.colors.aqua=upy.colors-module.html#aqua"><a title="upy.colors.aqua" class="py-name" href="#" onclick="return doclink('link-112', 'aqua', 'link-112');">aqua</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"><tt id="link-113" class="py-name" targets="Variable upy.colors.darkgoldenrod=upy.colors-module.html#darkgoldenrod"><a title="upy.colors.darkgoldenrod" class="py-name" href="#" onclick="return doclink('link-113', 'darkgoldenrod', 'link-113');">darkgoldenrod</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.722</tt><tt class="py-op">,</tt><tt class="py-number">0.525</tt><tt class="py-op">,</tt> <tt class="py-number">0.043</tt><tt class="py-op">)</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"><tt id="link-114" class="py-name" targets="Variable upy.colors.maroon=upy.colors-module.html#maroon"><a title="upy.colors.maroon" class="py-name" href="#" onclick="return doclink('link-114', 'maroon', 'link-114');">maroon</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt id="link-115" class="py-name" targets="Variable upy.colors.sandybrown=upy.colors-module.html#sandybrown"><a title="upy.colors.sandybrown" class="py-name" href="#" onclick="return doclink('link-115', 'sandybrown', 'link-115');">sandybrown</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt><tt class="py-number">0.643</tt><tt class="py-op">,</tt> <tt class="py-number">0.376</tt><tt class="py-op">)</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line"><tt id="link-116" class="py-name" targets="Variable upy.colors.magenta=upy.colors-module.html#magenta"><a title="upy.colors.magenta" class="py-name" href="#" onclick="return doclink('link-116', 'magenta', 'link-116');">magenta</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">1.000</tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"><tt id="link-117" class="py-name" targets="Variable upy.colors.tan=upy.colors-module.html#tan"><a title="upy.colors.tan" class="py-name" href="#" onclick="return doclink('link-117', 'tan', 'link-117');">tan</a></tt>                       <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.824</tt><tt class="py-op">,</tt><tt class="py-number">0.706</tt><tt class="py-op">,</tt> <tt class="py-number">0.549</tt><tt class="py-op">)</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt id="link-118" class="py-name" targets="Variable upy.colors.rosybrown=upy.colors-module.html#rosybrown"><a title="upy.colors.rosybrown" class="py-name" href="#" onclick="return doclink('link-118', 'rosybrown', 'link-118');">rosybrown</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.737</tt><tt class="py-op">,</tt><tt class="py-number">0.561</tt><tt class="py-op">,</tt> <tt class="py-number">0.561</tt><tt class="py-op">)</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"><tt id="link-119" class="py-name" targets="Variable upy.colors.pink=upy.colors-module.html#pink"><a title="upy.colors.pink" class="py-name" href="#" onclick="return doclink('link-119', 'pink', 'link-119');">pink</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.753</tt><tt class="py-op">,</tt> <tt class="py-number">0.796</tt><tt class="py-op">)</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line"><tt id="link-120" class="py-name" targets="Variable upy.colors.lightblue=upy.colors-module.html#lightblue"><a title="upy.colors.lightblue" class="py-name" href="#" onclick="return doclink('link-120', 'lightblue', 'link-120');">lightblue</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.678</tt><tt class="py-op">,</tt><tt class="py-number">0.847</tt><tt class="py-op">,</tt> <tt class="py-number">0.902</tt><tt class="py-op">)</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line"><tt id="link-121" class="py-name" targets="Variable upy.colors.palevioletred=upy.colors-module.html#palevioletred"><a title="upy.colors.palevioletred" class="py-name" href="#" onclick="return doclink('link-121', 'palevioletred', 'link-121');">palevioletred</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.686</tt><tt class="py-op">,</tt><tt class="py-number">0.933</tt><tt class="py-op">,</tt> <tt class="py-number">0.933</tt><tt class="py-op">)</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"><tt id="link-122" class="py-name" targets="Variable upy.colors.mediumseagreen=upy.colors-module.html#mediumseagreen"><a title="upy.colors.mediumseagreen" class="py-name" href="#" onclick="return doclink('link-122', 'mediumseagreen', 'link-122');">mediumseagreen</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.235</tt><tt class="py-op">,</tt><tt class="py-number">0.702</tt><tt class="py-op">,</tt> <tt class="py-number">0.443</tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line"><tt id="link-123" class="py-name" targets="Variable upy.colors.dimgray=upy.colors-module.html#dimgray"><a title="upy.colors.dimgray" class="py-name" href="#" onclick="return doclink('link-123', 'dimgray', 'link-123');">dimgray</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt> <tt class="py-number">0.412</tt><tt class="py-op">)</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line"><tt id="link-124" class="py-name" targets="Variable upy.colors.powderblue=upy.colors-module.html#powderblue"><a title="upy.colors.powderblue" class="py-name" href="#" onclick="return doclink('link-124', 'powderblue', 'link-124');">powderblue</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.690</tt><tt class="py-op">,</tt><tt class="py-number">0.878</tt><tt class="py-op">,</tt> <tt class="py-number">0.902</tt><tt class="py-op">)</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line"><tt id="link-125" class="py-name" targets="Variable upy.colors.seagreen=upy.colors-module.html#seagreen"><a title="upy.colors.seagreen" class="py-name" href="#" onclick="return doclink('link-125', 'seagreen', 'link-125');">seagreen</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.180</tt><tt class="py-op">,</tt><tt class="py-number">0.545</tt><tt class="py-op">,</tt> <tt class="py-number">0.341</tt><tt class="py-op">)</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line"><tt id="link-126" class="py-name" targets="Variable upy.colors.snow=upy.colors-module.html#snow"><a title="upy.colors.snow" class="py-name" href="#" onclick="return doclink('link-126', 'snow', 'link-126');">snow</a></tt>                      <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt> <tt class="py-number">0.980</tt><tt class="py-op">)</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"><tt id="link-127" class="py-name" targets="Variable upy.colors.mediumblue=upy.colors-module.html#mediumblue"><a title="upy.colors.mediumblue" class="py-name" href="#" onclick="return doclink('link-127', 'mediumblue', 'link-127');">mediumblue</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.804</tt><tt class="py-op">)</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line"><tt id="link-128" class="py-name" targets="Variable upy.colors.midnightblue=upy.colors-module.html#midnightblue"><a title="upy.colors.midnightblue" class="py-name" href="#" onclick="return doclink('link-128', 'midnightblue', 'link-128');">midnightblue</a></tt>              <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.098</tt><tt class="py-op">,</tt><tt class="py-number">0.098</tt><tt class="py-op">,</tt> <tt class="py-number">0.439</tt><tt class="py-op">)</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"><tt id="link-129" class="py-name" targets="Variable upy.colors.palegoldenrod=upy.colors-module.html#palegoldenrod"><a title="upy.colors.palegoldenrod" class="py-name" href="#" onclick="return doclink('link-129', 'palegoldenrod', 'link-129');">palegoldenrod</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.933</tt><tt class="py-op">,</tt><tt class="py-number">0.910</tt><tt class="py-op">,</tt> <tt class="py-number">0.667</tt><tt class="py-op">)</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line"><tt id="link-130" class="py-name" targets="Variable upy.colors.whitesmoke=upy.colors-module.html#whitesmoke"><a title="upy.colors.whitesmoke" class="py-name" href="#" onclick="return doclink('link-130', 'whitesmoke', 'link-130');">whitesmoke</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt><tt class="py-number">0.961</tt><tt class="py-op">,</tt> <tt class="py-number">0.961</tt><tt class="py-op">)</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line"><tt id="link-131" class="py-name" targets="Variable upy.colors.darkorchid=upy.colors-module.html#darkorchid"><a title="upy.colors.darkorchid" class="py-name" href="#" onclick="return doclink('link-131', 'darkorchid', 'link-131');">darkorchid</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.600</tt><tt class="py-op">,</tt><tt class="py-number">0.196</tt><tt class="py-op">,</tt> <tt class="py-number">0.800</tt><tt class="py-op">)</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line"><tt id="link-132" class="py-name" targets="Variable upy.colors.salmon=upy.colors-module.html#salmon"><a title="upy.colors.salmon" class="py-name" href="#" onclick="return doclink('link-132', 'salmon', 'link-132');">salmon</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.447</tt><tt class="py-op">)</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line"><tt id="link-133" class="py-name" targets="Variable upy.colors.lightslategray=upy.colors-module.html#lightslategray"><a title="upy.colors.lightslategray" class="py-name" href="#" onclick="return doclink('link-133', 'lightslategray', 'link-133');">lightslategray</a></tt>            <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.467</tt><tt class="py-op">,</tt><tt class="py-number">0.533</tt><tt class="py-op">,</tt> <tt class="py-number">0.600</tt><tt class="py-op">)</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line"><tt id="link-134" class="py-name" targets="Variable upy.colors.lawngreen=upy.colors-module.html#lawngreen"><a title="upy.colors.lawngreen" class="py-name" href="#" onclick="return doclink('link-134', 'lawngreen', 'link-134');">lawngreen</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.486</tt><tt class="py-op">,</tt><tt class="py-number">0.988</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line"><tt id="link-135" class="py-name" targets="Variable upy.colors.lightgreen=upy.colors-module.html#lightgreen"><a title="upy.colors.lightgreen" class="py-name" href="#" onclick="return doclink('link-135', 'lightgreen', 'link-135');">lightgreen</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.565</tt><tt class="py-op">,</tt><tt class="py-number">0.933</tt><tt class="py-op">,</tt> <tt class="py-number">0.565</tt><tt class="py-op">)</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line"><tt id="link-136" class="py-name" targets="Variable upy.colors.tomato=upy.colors-module.html#tomato"><a title="upy.colors.tomato" class="py-name" href="#" onclick="return doclink('link-136', 'tomato', 'link-136');">tomato</a></tt>                    <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.388</tt><tt class="py-op">,</tt> <tt class="py-number">0.278</tt><tt class="py-op">)</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line"><tt id="link-137" class="py-name" targets="Variable upy.colors.hotpink=upy.colors-module.html#hotpink"><a title="upy.colors.hotpink" class="py-name" href="#" onclick="return doclink('link-137', 'hotpink', 'link-137');">hotpink</a></tt>                   <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.412</tt><tt class="py-op">,</tt> <tt class="py-number">0.706</tt><tt class="py-op">)</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line"><tt id="link-138" class="py-name" targets="Variable upy.colors.lightyellow=upy.colors-module.html#lightyellow"><a title="upy.colors.lightyellow" class="py-name" href="#" onclick="return doclink('link-138', 'lightyellow', 'link-138');">lightyellow</a></tt>               <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt> <tt class="py-number">0.878</tt><tt class="py-op">)</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line"><tt id="link-139" class="py-name" targets="Variable upy.colors.lavenderblush=upy.colors-module.html#lavenderblush"><a title="upy.colors.lavenderblush" class="py-name" href="#" onclick="return doclink('link-139', 'lavenderblush', 'link-139');">lavenderblush</a></tt>             <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt> <tt class="py-number">0.961</tt><tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line"><tt id="link-140" class="py-name" targets="Variable upy.colors.linen=upy.colors-module.html#linen"><a title="upy.colors.linen" class="py-name" href="#" onclick="return doclink('link-140', 'linen', 'link-140');">linen</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.980</tt><tt class="py-op">,</tt><tt class="py-number">0.941</tt><tt class="py-op">,</tt> <tt class="py-number">0.902</tt><tt class="py-op">)</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line"><tt id="link-141" class="py-name" targets="Variable upy.colors.mediumaquamarine=upy.colors-module.html#mediumaquamarine"><a title="upy.colors.mediumaquamarine" class="py-name" href="#" onclick="return doclink('link-141', 'mediumaquamarine', 'link-141');">mediumaquamarine</a></tt>          <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.400</tt><tt class="py-op">,</tt><tt class="py-number">0.804</tt><tt class="py-op">,</tt> <tt class="py-number">0.667</tt><tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line"><tt id="link-142" class="py-name" targets="Variable upy.colors.green=upy.colors-module.html#green"><a title="upy.colors.green" class="py-name" href="#" onclick="return doclink('link-142', 'green', 'link-142');">green</a></tt>                     <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.000</tt><tt class="py-op">,</tt><tt class="py-number">0.502</tt><tt class="py-op">,</tt> <tt class="py-number">0.000</tt><tt class="py-op">)</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"><tt id="link-143" class="py-name" targets="Variable upy.colors.blueviolet=upy.colors-module.html#blueviolet"><a title="upy.colors.blueviolet" class="py-name" href="#" onclick="return doclink('link-143', 'blueviolet', 'link-143');">blueviolet</a></tt>                <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.541</tt><tt class="py-op">,</tt><tt class="py-number">0.169</tt><tt class="py-op">,</tt> <tt class="py-number">0.886</tt><tt class="py-op">)</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line"><tt id="link-144" class="py-name" targets="Variable upy.colors.peachpuff=upy.colors-module.html#peachpuff"><a title="upy.colors.peachpuff" class="py-name" href="#" onclick="return doclink('link-144', 'peachpuff', 'link-144');">peachpuff</a></tt>                 <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">1.000</tt><tt class="py-op">,</tt><tt class="py-number">0.855</tt><tt class="py-op">,</tt> <tt class="py-number">0.725</tt><tt class="py-op">)</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line"><tt id="link-145" class="py-name" targets="Variable upy.colors.darkgrey=upy.colors-module.html#darkgrey"><a title="upy.colors.darkgrey" class="py-name" href="#" onclick="return doclink('link-145', 'darkgrey', 'link-145');">darkgrey</a></tt>                  <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-number">0.663</tt><tt class="py-op">,</tt><tt class="py-number">0.663</tt><tt class="py-op">,</tt> <tt class="py-number">0.663</tt><tt class="py-op">)</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line"> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line"><tt class="py-keyword">try</tt> <tt class="py-op">:</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">    <tt class="py-keyword">import</tt> <tt class="py-name">numpy</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line"><tt class="py-keyword">except</tt> <tt class="py-op">:</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">    <tt class="py-keyword">print</tt><tt class="py-op">(</tt><tt class="py-string">"require numpy"</tt><tt class="py-op">)</tt> </tt>
<a name="RedWhiteBlueRamp"></a><div id="RedWhiteBlueRamp-def"><a name="L191"></a><tt class="py-lineno">191</tt> <a class="py-toggle" href="#" id="RedWhiteBlueRamp-toggle" onclick="return toggle('RedWhiteBlueRamp');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="upy.colors-module.html#RedWhiteBlueRamp">RedWhiteBlueRamp</a><tt class="py-op">(</tt><tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-number">256</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="RedWhiteBlueRamp-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="RedWhiteBlueRamp-expanded"><a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">    <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt class="py-name">Numeric</tt><tt class="py-op">.</tt><tt class="py-name">ones</tt><tt class="py-op">(</tt> <tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">,</tt> <tt class="py-number">3</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'f'</tt><tt class="py-op">)</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">    <tt class="py-name">mid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">/</tt><tt class="py-number">2</tt><tt class="py-op">)</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">    <tt class="py-name">incr</tt> <tt class="py-op">=</tt> <tt class="py-number">1.</tt><tt class="py-op">/</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">    <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">i</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">i</tt><tt class="py-op">*</tt><tt class="py-name">incr</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">i</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">i</tt><tt class="py-op">*</tt><tt class="py-name">incr</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">    <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">mid</tt><tt class="py-op">+</tt><tt class="py-name">i</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-number">1.</tt><tt class="py-op">-</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">*</tt><tt class="py-name">incr</tt><tt class="py-op">)</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">mid</tt><tt class="py-op">+</tt><tt class="py-name">i</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-number">1.</tt><tt class="py-op">-</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">*</tt><tt class="py-name">incr</tt><tt class="py-op">)</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">ramp</tt> </tt>
</div><a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line"> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line"> </tt>
<a name="getRamp"></a><div id="getRamp-def"><a name="L204"></a><tt class="py-lineno">204</tt> <a class="py-toggle" href="#" id="getRamp-toggle" onclick="return toggle('getRamp');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="upy.colors-module.html#getRamp">getRamp</a><tt class="py-op">(</tt><tt class="py-param">colors</tt><tt class="py-op">,</tt><tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-number">256</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="getRamp-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="getRamp-expanded"><a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-146" class="py-name" targets="Module upy.colors=upy.colors-module.html"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-146', 'colors', 'link-146');">colors</a></tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">2</tt> <tt class="py-op">:</tt> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt id="link-147" class="py-name" targets="Function upy.colors.TwoColorRamp()=upy.colors-module.html#TwoColorRamp"><a title="upy.colors.TwoColorRamp" class="py-name" href="#" onclick="return doclink('link-147', 'TwoColorRamp', 'link-147');">TwoColorRamp</a></tt><tt class="py-op">(</tt><tt class="py-name">col1</tt><tt class="py-op">=</tt><tt id="link-148" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-148', 'colors', 'link-146');">colors</a></tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">col2</tt><tt class="py-op">=</tt><tt id="link-149" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-149', 'colors', 'link-146');">colors</a></tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">size</tt><tt class="py-op">=</tt><tt class="py-name">size</tt><tt class="py-op">)</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">    <tt class="py-keyword">elif</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-150" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-150', 'colors', 'link-146');">colors</a></tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-number">3</tt> <tt class="py-op">:</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt id="link-151" class="py-name" targets="Function upy.colors.ThreeColorRamp()=upy.colors-module.html#ThreeColorRamp"><a title="upy.colors.ThreeColorRamp" class="py-name" href="#" onclick="return doclink('link-151', 'ThreeColorRamp', 'link-151');">ThreeColorRamp</a></tt><tt class="py-op">(</tt><tt class="py-name">col1</tt><tt class="py-op">=</tt><tt id="link-152" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-152', 'colors', 'link-146');">colors</a></tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">col2</tt><tt class="py-op">=</tt><tt id="link-153" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-153', 'colors', 'link-146');">colors</a></tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">col3</tt><tt class="py-op">=</tt><tt id="link-154" class="py-name"><a title="upy.colors" class="py-name" href="#" onclick="return doclink('link-154', 'colors', 'link-146');">colors</a></tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">size</tt><tt class="py-op">=</tt><tt class="py-name">size</tt><tt class="py-op">)</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt> <tt class="py-op">:</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">ramp</tt> </tt>
</div><a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">             </tt>
<a name="TwoColorRamp"></a><div id="TwoColorRamp-def"><a name="L213"></a><tt class="py-lineno">213</tt> <a class="py-toggle" href="#" id="TwoColorRamp-toggle" onclick="return toggle('TwoColorRamp');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="upy.colors-module.html#TwoColorRamp">TwoColorRamp</a><tt class="py-op">(</tt><tt class="py-param">col1</tt><tt class="py-op">=</tt><tt id="link-155" class="py-name"><a title="upy.colors.red" class="py-name" href="#" onclick="return doclink('link-155', 'red', 'link-49');">red</a></tt><tt class="py-op">,</tt><tt class="py-param">col2</tt><tt class="py-op">=</tt><tt id="link-156" class="py-name"><a title="upy.colors.white" class="py-name" href="#" onclick="return doclink('link-156', 'white', 'link-90');">white</a></tt><tt class="py-op">,</tt><tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-number">256</tt><tt class="py-op">,</tt><tt class="py-param">alpha</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="TwoColorRamp-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="TwoColorRamp-expanded"><a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">    <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-number">3</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">alpha</tt> <tt class="py-op">:</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">        <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-number">4</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">    <tt class="py-name">col1</tt><tt class="py-op">=</tt><tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-name">col1</tt><tt class="py-op">)</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line">    <tt class="py-name">col2</tt><tt class="py-op">=</tt><tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-name">col2</tt><tt class="py-op">)</tt> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">    <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">ones</tt><tt class="py-op">(</tt> <tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">,</tt> <tt class="py-name">n</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'d'</tt><tt class="py-op">)</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">    <tt class="py-comment">#interpolate from col1 to col2 along size</tt> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">i</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">col1</tt> <tt class="py-op">+</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">)</tt><tt class="py-op">/</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">*</tt> <tt class="py-op">(</tt><tt class="py-name">col2</tt><tt class="py-op">-</tt><tt class="py-name">col1</tt><tt class="py-op">)</tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">    <tt class="py-comment">#ramp = ramp/float(size-1)</tt> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">return</tt> <tt class="py-name">ramp</tt><tt class="py-op">.</tt><tt class="py-name">astype</tt><tt class="py-op">(</tt><tt class="py-string">'f'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line"> </tt>
<a name="ThreeColorRamp"></a><div id="ThreeColorRamp-def"><a name="L226"></a><tt class="py-lineno">226</tt> <a class="py-toggle" href="#" id="ThreeColorRamp-toggle" onclick="return toggle('ThreeColorRamp');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="upy.colors-module.html#ThreeColorRamp">ThreeColorRamp</a><tt class="py-op">(</tt><tt class="py-param">col1</tt><tt class="py-op">=</tt><tt id="link-157" class="py-name"><a title="upy.colors.blue" class="py-name" href="#" onclick="return doclink('link-157', 'blue', 'link-41');">blue</a></tt><tt class="py-op">,</tt><tt class="py-param">col2</tt><tt class="py-op">=</tt><tt id="link-158" class="py-name"><a title="upy.colors.white" class="py-name" href="#" onclick="return doclink('link-158', 'white', 'link-90');">white</a></tt><tt class="py-op">,</tt><tt class="py-param">col3</tt><tt class="py-op">=</tt><tt id="link-159" class="py-name"><a title="upy.colors.red" class="py-name" href="#" onclick="return doclink('link-159', 'red', 'link-49');">red</a></tt><tt class="py-op">,</tt><tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-number">256</tt><tt class="py-op">,</tt><tt class="py-param">alpha</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ThreeColorRamp-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ThreeColorRamp-expanded"><a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line">    <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-number">3</tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">alpha</tt> <tt class="py-op">:</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line">        <tt class="py-name">n</tt> <tt class="py-op">=</tt> <tt class="py-number">4</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">    <tt class="py-name">col1</tt><tt class="py-op">=</tt><tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-name">col1</tt><tt class="py-op">)</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">    <tt class="py-name">col2</tt><tt class="py-op">=</tt><tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-name">col2</tt><tt class="py-op">)</tt>     </tt>
<a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line">    <tt class="py-name">col3</tt><tt class="py-op">=</tt><tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">array</tt><tt class="py-op">(</tt><tt class="py-name">col3</tt><tt class="py-op">)</tt> </tt>
<a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line">    <tt class="py-name">ramp</tt> <tt class="py-op">=</tt> <tt class="py-name">numpy</tt><tt class="py-op">.</tt><tt class="py-name">ones</tt><tt class="py-op">(</tt> <tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">,</tt> <tt class="py-name">n</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'d'</tt><tt class="py-op">)</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">    <tt class="py-name">mid</tt> <tt class="py-op">=</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">size</tt><tt class="py-op">/</tt><tt class="py-number">2</tt><tt class="py-op">)</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line">    <tt class="py-name">incr</tt> <tt class="py-op">=</tt> <tt class="py-number">1.</tt><tt class="py-op">/</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line">    <tt class="py-comment">#interpolate from col1 to col2, then col2 to col3 along size</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">i</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">col1</tt> <tt class="py-op">+</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">)</tt><tt class="py-op">/</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">*</tt> <tt class="py-op">(</tt><tt class="py-name">col2</tt><tt class="py-op">-</tt><tt class="py-name">col1</tt><tt class="py-op">)</tt> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">    <tt class="py-keyword">for</tt> <tt class="py-name">i</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">        <tt class="py-name">ramp</tt><tt class="py-op">[</tt><tt class="py-name">mid</tt><tt class="py-op">+</tt><tt class="py-name">i</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">col2</tt> <tt class="py-op">+</tt> <tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">i</tt><tt class="py-op">)</tt><tt class="py-op">/</tt><tt class="py-name">float</tt><tt class="py-op">(</tt><tt class="py-name">mid</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> <tt class="py-op">*</tt> <tt class="py-op">(</tt><tt class="py-name">col3</tt><tt class="py-op">-</tt><tt class="py-name">col2</tt><tt class="py-op">)</tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">ramp</tt><tt class="py-op">.</tt><tt class="py-name">astype</tt><tt class="py-op">(</tt><tt class="py-string">'f'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="upy-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    on Fri Oct 28 09:07:29 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
